package com.niit.schoolhub.system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 轻量博客-文章标签
 * </p>
 *
 * @author kaguya
 * @since 2021-11-27
 */
@TableName("yesapi_one_article_tag")
@ApiModel(value = "YesapiOneArticleTag对象", description = "轻量博客-文章标签")
public class YesapiOneArticleTag implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("文章ID")
    private Integer articleId;

    @ApiModelProperty("标签ID")
    private Integer tagId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getArticleId() {
        return articleId;
    }

    public void setArticleId(Integer articleId) {
        this.articleId = articleId;
    }

    public Integer getTagId() {
        return tagId;
    }

    public void setTagId(Integer tagId) {
        this.tagId = tagId;
    }

    @Override
    public String toString() {
        return "YesapiOneArticleTag{" +
        "id=" + id +
        ", articleId=" + articleId +
        ", tagId=" + tagId +
        "}";
    }
}
